﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Basic.Domain.T.Basic.Model
{
    /// <summary>
    /// 车辆管理
    /// </summary>
    [Table("Vehicle")]
    public class Vehicle:AuditFields
    {
        /// <summary>
        /// 车辆管理ID
        /// </summary>
        [Key]
        public int VehicleId {  get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 厂牌型号
        /// </summary>
        public string? BrandAndModel {  get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? PlateNumber {  get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public string? DriverName { get; set; }
        /// <summary>
        /// 所属公司
        /// </summary>
        public string? BelongingCompany {  get; set; }
        /// <summary>
        /// 长
        /// </summary>
        public decimal? VehicleLong {  get; set; }
        /// <summary>
        /// 宽
        /// </summary>
        public decimal? VehicleWide { get; set; }
        /// <summary>
        /// 高
        /// </summary>
        public decimal? VehicleTall { get; set; }
        /// <summary>
        /// 车辆颜色
        /// </summary>
        public string? VehicleColor {  get; set; }
        /// <summary>
        /// 购置日期
        /// </summary>
        public DateTime? AcquisitionDate {  get; set; }
       /// <summary>
       /// 营运证号
       /// </summary>
        public string? TradingCard {  get; set; }
        /// <summary>
        /// 保险到期日期
        /// </summary>
        public DateTime? InsuranceExpirationDate {  get; set; }
       /// <summary>
       /// 年检到期日期
       /// </summary>
        public DateTime? AnnualInspectionExpiratDate {  get; set; }
        /// <summary>
        /// 保养公里数
        /// </summary>
        public int? MaintenanceMileageSetting {  get; set; }
        /// <summary>
        /// 车辆照片
        /// </summary>
        public string? VehicleImg {  get; set; }
        /// <summary>
        /// 保险照片
        /// </summary>
        public string? InsuranceCarImg { get; set; }
    }
}
